<!--<div class="wf_input">
	<form action="" method="post">
		<input type="text"  name="wf_name" class="wf_text" placeholder="请输入兑换码">
		<input type="submit" class="wf_sub" value="兑换">
	</form>
</div>-->
<script type="text/javascript">
window.history.forward(1);
</script>
<a href="/"><div class="topBack"><img src="/images/back_jiantou.png" style="width:40px;height:40px;"></div></a>
<div class="topContent">我的现金券</div>
<div class="topRight">&nbsp;</div>
<div class="clear"></div>

<div id="wrapperVoucher" class="wrapperComman" style="top:40px;bottom:0px;">
<div style="width:100%;">
<?php
if(!empty($this->VoucherList)){
	foreach($this->VoucherList as $v){
	echo'
	<div class="wf_hongbao">
		<div class="wf_left"><span class="jine">'.$v->discount.'元</span></div>
		<div class="wf_right">
			<div class="wf_right1">'.$v->title.'</div>
			<div class="wf_right2">在线支付，满'.$v->limit.'元可用</div>
			<div class="wf_right2">有效期'.substr($v->start,0,11).'至'.substr($v->expired,0,11).'</div>
		</div>
	</div>';

	}
}else{
	echo '<div style="text-align:center;"><img src="/images/none.jpg" style="width:50%;padding-top:110px;"></div>';
	echo '<div style="text-align:center;padding:30px 0px;">亲，您的现金券用完了！</div>';
}
?>
<div style="width:100%;height:50px;">&nbsp;</div>
</div>
</div>


<script type="text/javascript">
	$(document).ready(function() {
		var myScroll;
		myScroll = new iScroll('wrapperVoucher', { scrollbarClass: 'myScrollbar' });
	});
</script>